import axi from 'axios';

export default {
  getJobsInfoNotLoginApi(p) {
    return axi.get('/auth/queryBJobsByOptionsByCompanyWoAu', {
      params: p,
    });
  },
  queryBCompanyDetailApi(p) {
    return axi.get('/bcompany/queryBCompanyDetailWoAu', {
      params: p,
      // headers: {
      //   // Authorization: `Bearer ${sessionStorage.getItem('userToken')}`,
      // },
    });
  },
  addDeliveryApi(p) {
    return axi.post('/bdelivery/addBDelivery', p, {
      headers: {
        Authorization: `Bearer ${sessionStorage.getItem('userToken')}`,
      },
    });
  },
};
